'use strict'
var fs = require('fs')
//express静态服务器
var express= require('express')
var app=express();
app.use(express.static('./Gobang'))
//显示文件夹
var serveIndex=require('serve-index')
app.use(serveIndex('./Gobang'))
//创建web服务器
var http = require('http')
exports.web_server=http.createServer(app)